﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
   public class Line : Shape
    {
       public Line(Point firstPoint)
       {
           this.FirstPoint = firstPoint;
       }
       public override Point LastPoint { get; set; }
       public override void Draw(Graphics g)
       {
          g.DrawLine(new Pen(Color), FirstPoint,LastPoint);
       }
    }
}
